package com.zhkj.txg.module.home.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class ShopListResponse(
    val data: MutableList<ShopInfo>? = null
) : BaseResponse()


data class ShopInfo(
    val id: String? = null,
    val shop_name: String? = null,
    val address: String? = null,
    val lng: String? = null,
    val lat: String? = null,
    val mobile: String? = null,
    @SerializedName("business_time")
    val businessTime: BusinessTimeEntity? = null,
    val distance: String? = null,
    @SerializedName("is_delivery")
    val isDelivery: Int = 0
)

data class BusinessTimeEntity(
    @SerializedName("start_time")
    val startTime: String = "",
    @SerializedName("end_time")
    val endTime: String = ""
)
